package 第七周.practice;
//FoodAnalyzer.java   Author:Lewis/Loftus
//Demonstrates indirect access to inherited private memebers.
public class FoodAnalyzer {
    //Instandiates a Pizza object and prints its calories per
    //serving.
    public static void main(String []args){
        Pizza special = new Pizza(275);
        System.out.println("Calories per serving: " + special.caloriesPerServing());
    }
}
